'use strict';
const tokens = require('./token');

function mockUserA(x) {
  return x.mockHeaders({
    Authorization: 'Bearer ' + tokens[0],
  });
}

function mockUserB(x) {
  return x.mockHeaders({
    Authorization: 'Bearer ' + tokens[1],
  });
}

function mockInvalidUser(x) {
  return x.mockHeaders({
    Authorization: 'Bearer ' + tokens[2],
  });
}

exports = module.exports = { mockUserA, mockUserB, mockInvalidUser };
